package earogya.pharmacy.pharmacy;

import java.util.Date;
import java.sql.Time;

/*class OrderDrugs
 * 
 * contains the attributes considered when ordering drugs to the pharmacy
 * 
 * 
 * */
public class OrderDrugs {
	
	private int orderId;
	private int drugId;
	private int quantity;
	private Date orderDate;
	private Time orderTime;
	
	public OrderDrugs(){
		
	}
	
	public OrderDrugs(int drugid,int quantity){
		this.drugId = drugid;
		this.quantity = quantity;
	}
	
	public OrderDrugs(int drugid,int quantity, Date orderDate, Time orderTime){
		this.drugId = drugid;
		this.quantity = quantity;
		this.orderDate = orderDate;
		this.orderTime = orderTime;
	}
	
	public int getOrderId(){
		return orderId;
	}
	
	public void setOrderId(int id){
		orderId =id;
	}
	
	public void setDrugId(int did){
		drugId = did;
	}
	
	public int getDrugId(){
		return drugId;
	}
	
	public void setQuantity(int qunt){
		quantity = qunt;
	}
	
	public int getQuantity(){
		return quantity;
	}
	
	public void setOrderDate(java.util.Date date){
		orderDate = date;
	}
	
	public Date getOrderDate(){
		return orderDate;
	}
	
	public void setOrderTime(Time otime){
		orderTime = otime;
	}
	
	public Time getOrderTime(){
		return orderTime;
	}

}
